﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {   

            DateTime now = DateTime.Now;

            Console.WriteLine("现在是：{0}", now);

            Console.WriteLine("今天是这个月的第{0}天", now.Day);

            Console.WriteLine("今天是：{0}", now.DayOfWeek);

            Console.WriteLine("今天是今年的第{0}天", now.DayOfYear);

            Console.WriteLine("4天后是{0}", now.AddDays(4));

            Console.WriteLine("两个小时后是{0}", now.AddHours(2));

        }
    }
}